package com.itqf.studentinfo.service.impl;

import com.itqf.studentinfo.entity.Classes;
import com.itqf.studentinfo.mapper.ClassesMapper;
import com.itqf.studentinfo.service.ClassesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ProjectName: studentinfo
 * @Package: com.itqf.studentinfo.service.impl
 * @ClassName: ClassesServiceImpl
 * @Description: java类作用描述
 * @Author: 樊晋源
 * @CreateDate: 2019/12/5 16:21
 * @Version: 1.0
 */
@Service
public class ClassesServiceImpl implements ClassesService {
    @Autowired
    private ClassesMapper classesMapper;
    @Override
    public List<Classes> getAll() {
        return classesMapper.gettypes();
    }
}
